<template>
	<view class="contactus">
		<image src="https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=3153603668,906829673&fm=15&gp=0.jpg"></image>
		<view class="info">
			<view @click="makePhone">联系电话: 400-8220-8820 ( 点击拨打 ) </view>
			<view>联系地址:福建厦门市湖里区华昌路132号</view>
		</view>
		<map class="map" :latitude="latitude" :longitude="longitude" :markers="covers"></map>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				latitude:24.519346,
				longitude:118.10603,
				covers:[
					{	
						title:'海东超市',
						latitude:24.519346,
						longitude:118.10603,
						iconPath:'../../static/mylogo.png',
						width:55,
						height:50,
					}
				]
			}
		},
		methods: {
			makePhone(){
				uni.makePhoneCall({
					phoneNumber:'4008208820'
				})
			}
		}
	}
</script>

<style lang="scss">
	.contactus{
		image{
			width: 750rpx;
			height: 320rpx;	
		}
		.info{
			padding: 10rpx 20rpx;
			font-size: 30rpx;
			view{
				line-height: 80rpx;
				border-bottom: 1px solid #eeeeee;
			}
			
		}
		.map{
			width: 750rpx;
			height: 750rpx;
			padding: 6rpx;
		}
		
	}

</style>
